package JUnit_tests;

import static org.junit.Assert.*;

import org.junit.Test;


//fileInfo fi = new fileInfo();

public class fileInfo_test {

	@Test
	public void test() {
		//fail("Not yet implemented");
	}
	
	
	@Test
	public void testCleanRow(){
		/*
		dk.fileInfo fi = new dk.fileInfo("test");
	
		/*
		// test to see if the function names are being removed from the rows
		
		final String tempRow0 = "";
		final String tempRow1 = "^^sfn^^: merge_setenvif_configmerge_setenvif_config^^efn^^";
		final String tempRow2 = "daniscooldonot^^sfn^^: 121212doanythingtothisawererow^^efn^^";
		final String tempRow3 = "daniscool&*&leave&*&";
		final String tempRow4 = "donot121212doanythingtothisawererow";
		
		assertEquals("",fi.cleanRow(tempRow0));
		assertEquals("^^sfn^^:^^efn^^",fi.cleanRow(tempRow1));
		assertEquals("daniscooldonot^^sfn^^:^^efn^^",fi.cleanRow(tempRow2));
		assertEquals("daniscool&*&leave&*&",fi.cleanRow(tempRow3));
		assertEquals("donot121212doanythingtothisawererow",fi.cleanRow(tempRow4));
				
		
		// test to make sure that any integer counters are being removed
		// &*&<Number>
		
		final String removeIntoCountVal0 = "DontRemoveAnything";
		final String removeIntoCountVal1 = "Dan&*&23";
		final String removeIntoCountVal2 = "Dan&*&23Dan";
		final String removeIntoCountVal3 = "&*&23Dan";
		final String removeIntoCountVal4 = "Dan&*&23Dan";
		final String removeIntoCountVal5 = "Dan&*&Dan";

		assertEquals("dontremoveanything",fi.cleanRow(removeIntoCountVal0));
	//	assertEquals("dan&*&",fi.cleanRow(removeIntoCountVal1));
	//	assertEquals("dan&*&dan",fi.cleanRow(removeIntoCountVal2));
	//	assertEquals("&*&dan",fi.cleanRow(removeIntoCountVal3));
	//	assertEquals("dan&*&dan",fi.cleanRow(removeIntoCountVal4));
	//	assertEquals("dan&*&dan",fi.cleanRow(removeIntoCountVal5));
		
		
		
		*/
		
		
	}
	
	
	
	

}
